package com.cgc.venus.server.app.bean;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by 业哥 on 2017/12/12.
 * 镜像部署专用
 */
public class ImageDataBean {
    // 当前空间
    private String namespace;
    // 基本信息
    private ImageBaseBean imageBase = new ImageBaseBean();
    // 端口信息
    private List<ImagePortBean> imagePortList = new ArrayList<ImagePortBean>();
    // 环境变量
    private List<ImageEnvBean> imageEnvList = new ArrayList<>();

    // 配置文件卷
    private List<ImageConfigVolumesBean> imageConfigVolumesList =  new ArrayList<ImageConfigVolumesBean>();

    // 有状态持久化卷
    private List<ImageStatefulSetPVCBean> imageStatefulSetPVCList = new ArrayList<ImageStatefulSetPVCBean>();

    // 无状态持久化卷
    private List<ImageDeploymentPVCBean> imageDeploymentPVCList = new ArrayList<ImageDeploymentPVCBean>();

    // 镜像高可用配置
    private ImageHighAvailabilityBean imageHA = new ImageHighAvailabilityBean();

    // 镜像参数
    private List<ImageArgsBean> commandArgs = new ArrayList<ImageArgsBean>();


    public ImageBaseBean getImageBase() {
        return imageBase;
    }

    public void setImageBase(ImageBaseBean imageBase) {
        this.imageBase = imageBase;
    }

    public List<ImagePortBean> getImagePortList() {
        return imagePortList;
    }

    public void setImagePortList(List<ImagePortBean> imagePortList) {
        this.imagePortList = imagePortList;
    }

    public List<ImageEnvBean> getImageEnvList() {
        return imageEnvList;
    }

    public void setImageEnvList(List<ImageEnvBean> imageEnvList) {
        this.imageEnvList = imageEnvList;
    }

    public List<ImageConfigVolumesBean> getImageConfigVolumesList() {
        return imageConfigVolumesList;
    }

    public void setImageConfigVolumesList(List<ImageConfigVolumesBean> imageConfigVolumesList) {
        this.imageConfigVolumesList = imageConfigVolumesList;
    }

    public List<ImageStatefulSetPVCBean> getImageStatefulSetPVCList() {
        return imageStatefulSetPVCList;
    }

    public void setImageStatefulSetPVCList(List<ImageStatefulSetPVCBean> imageStatefulSetPVCList) {
        this.imageStatefulSetPVCList = imageStatefulSetPVCList;
    }

    public List<ImageDeploymentPVCBean> getImageDeploymentPVCList() {
        return imageDeploymentPVCList;
    }

    public void setImageDeploymentPVCList(List<ImageDeploymentPVCBean> imageDeploymentPVCList) {
        this.imageDeploymentPVCList = imageDeploymentPVCList;
    }

    public ImageHighAvailabilityBean getImageHA() {
        return imageHA;
    }

    public void setImageHA(ImageHighAvailabilityBean imageHA) {
        this.imageHA = imageHA;
    }

    public String getNamespace() {
        return namespace;
    }

    public void setNamespace(String namespace) {
        this.namespace = namespace;
    }

    public List<ImageArgsBean> getCommandArgs() {
        return commandArgs;
    }

    public void setCommandArgs(List<ImageArgsBean> commandArgs) {
        this.commandArgs = commandArgs;
    }
}
